package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuhuan
 * @since 2019-01-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCQ_T")
public class GwcqT extends PO<GwcqT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWCQENT", type = IdType.INPUT)
    private String GWCQENT;

    private String GWCQDOCNO;

    private BigDecimal GWCQSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCQDOCDATE;

    private String GWCQ001;

    private String GWCQ002;

    private BigDecimal GWCQ003;

    private BigDecimal GWCQ004;

    private BigDecimal GWCQ005;

    private String GWCQ006;

    private String GWCQ007;

    private String GWCQ008;

    private String GWCQ009;

    private String GWCQ010;

    private String GWCQ011;

    private String GWCQ012;

    private String GWCQ013;

    private String GWCQ014;

    private String GWCQ015;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCQ016;

    private String GWCQ020;

    private String GWCQ021;

    private String GWCQ022;

    private String GWCQ023;

    private String GWCQ024;

    private String GWCQ025;

    private String GWCQ026;

    private String GWCQ027;

    private String GWCQ028;

    private String GWCQ030;

    private BigDecimal GWCQ031;

    private String GWCQ050;

    private String GWCQ060;

    private String GWCQ061;

    private String GWCQ062;

    private String GWCQ101;

    private String GWCQ102;

    private BigDecimal GWCQ103;

    private BigDecimal GWCQ104;

    private String GWCQ105;

    private String GWCQ106;

    private String GWCQ107;

    private String GWCQ108;

    private String GWCQPLANT;

    private String GWCQLEGAL;

    private String GWCQACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWCQUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWCQGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWCQMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWCQTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCQDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWCQORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWCQORIU;

    private String GWCQMLEGAL;

    /**
     * 活动编号
     */
    private String GWCQ109;

    /**
     * 促销方式
     */
    private String GWCQ110;

    /**
     * 促销单据类型
     */
    private String GWCQ111;

    /**
     * 最终客户
     */
    private String GWCQ112;

    /**
     * 结算价
     */
    private BigDecimal GWCQ113;

    /**
     * 返利类型
     */
    private String GWCQ114;

    /**
     * 拆包否
     */
    private String GWCQ115;



    @Override
    protected Serializable pkVal() {
        return this.GWCQENT;
    }

}
